.reflex-element {
  overflow: hidden !important;
}

.monaco-menu .action-label {
  color: var(--highlight-color);
  letter-spacing: 0.02em;
}

.monaco-aria-container {
  top: -999em;
}

#challenge-page-tabs .nav-tabs {
  margin-left: 2px;
  display: flex;
}

#challenge-page-tabs .nav-tabs > li {
  flex: 1;
  text-align: center;
}

#challenge-page-tabs .nav-tabs > li > a {
  padding: 5px 10px;
  text-decoration: none;
  font-size: 0.8em;
}

#challenge-page-tabs .nav-tabs > li > a:hover {
  color: var(--gray-85);
}

#challenge-page-tabs .tab-content {
  height: calc(
    100vh - var(--header-height, 0px) - var(--flash-message-height, 0px) - 69px
  );
  overflow-y: auto;
}

#challenge-page-tabs .tab-pane {
  height: 100%;
  overflow: hidden;
}

#challenge-page-tabs .nav-tabs > li.active > a {
  color: var(--quaternary-color);
  background-color: var(--quaternary-background);
}

.monaco-editor .editor-widget {
  display: none !important;
}

.monaco-menu .monaco-action-bar.vertical .action-item:nth-last-child(n + 5),
.monaco-menu .monaco-action-bar.vertical .action-item:last-child,
.monaco-menu .monaco-action-bar.vertical .action-label.separator {
  display: none !important;
}

.monaco-editor-tabs {
  display: flex;
  padding: 0px 10px;
  background-color: var(--primary-background);
  border-bottom: 2px solid var(--primary-color);
}

.monaco-editor-tab {
  position: relative;
  top: 2px;
  padding: 4px 16px;
  border: 2px solid var(--primary-color);
  border-left: none;
  background-color: var(--secondary-background);
}

button.monaco-editor-tab:hover {
  color: var(--quaternary-color);
  background-color: var(--quaternary-background);
}

.monaco-editor-tab:first-child {
  border-left: 2px solid var(--primary-color);
}

.monaco-editor-tab-selected {
  background-color: var(--primary-background);
  border-bottom: 2px solid var(--primary-background);
}

.monaco-editor-tab[role='tab'][aria-selected='true'] {
  border-color: var(--secondary-color);
  background-color: var(--secondary-color);
  color: var(--secondary-background);
}

.action-row {
  padding: 10px;
  border-bottom: 1px solid var(--quaternary-background);
}

.action-row .monaco-editor-tabs {
  padding: 0;
  border-bottom: none;
  background-color: var(--secondary-background);
}

.action-row .monaco-editor-tabs .monaco-editor-tab {
  top: 0;
}

.monaco-editor .squiggly-hint {
  background: none !important;
}
